package com.jec;

import java.util.Properties;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

public class ServletInitializer extends SpringBootServletInitializer {

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		
		
		Properties properties = Bootstrap.bootstrap();
		
		application.properties(properties);
		
		application.listeners(new WebServicePublisher());
		
		return application.sources(TcsApplication.class);
	}

}
